package game.games.rpg;

import game.gfx.ColoredChar;
import game.gfx.Colors;
import game.gfx.ConsoleColor;

public class SimpleMonster extends Monster
{
    public SimpleMonster(String name, ConsoleColor color, int level, int maxHealth, int attack)
    {
        setName(name);
        getChar().setConsoleColor(color);
        setLevel(level);
        setMaxHealth(maxHealth);
        setHealth(maxHealth);
        setAttack(attack);
    }
    
    public SimpleMonster()
    {
        this("ßßß", new ConsoleColor(Colors.green, Colors.pink), 0, 0, 0);
    }
    
    @Override
    public ColoredChar getChar()
    {
        return new ColoredChar(getName().charAt(0), super.getChar().getConsoleColor());
    }
}
